<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:m="http://metawidget.org/faces">

<f:metadata>
</f:metadata>

<ui:composition template="/resources/forge-template.xhtml">

	<ui:param name="pageTitle" value="Create Tag" />

	<ui:define name="header">
		Tag
	</ui:define>

	<ui:define name="subheader">
		Create a new object
	</ui:define>

	<ui:define name="footer">
	</ui:define>

	<ui:define name="main">
		<h:form id="form">
		
		    <h:messages />
		    
		    <m:metawidget value="#{tagBean.tag}" readOnly="#{false}" />
		    
		    <br/>
		    <h:button value="Cancel" outcome="list" />
		    <h:commandButton value="Create" action="#{tagBean.create()}" />

		</h:form>
	</ui:define>

	<ui:define name="left">
		<h3>Get involved</h3>
		<p>If you would like to get involved in this project, please visit
		the <a href="http://bit.ly/seamforge">Forge homepage</a> or visit the
		#seam-dev IRC channel: <a href="irc://chat.freenode.net/#seam-dev">freenode.net#seam-dev</a>
		and ask about "Forge"</p>
		<p>If you have an idea for a plugin or improvement, and would like
		to do some "forgestorming", submit it <a
			href="http://bit.ly/forgestorm">here</a>.</p>

		<h3>Useful links</h3>
		<ul>
			<li>Seam 3: <a href="http://seamframework.org/Seam3">Home</a></li>
			<li>JBoss.org: <a href="http://jboss.org">Home</a></li>
		</ul>
	</ui:define>

</ui:composition>
</html>

